package com.xyht.sca_s.student_manage_system.modules.employmentApplication.entity.dto;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 * 
 * </p>
 *
 * @author XYHT
 * @since 2023-05-23
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("sms_employment_application")
@ApiModel(value="SmsEmploymentApplication对象", description="")
public class SmsEmploymentApplicationMpjDTO implements Serializable {

    private static final long serialVersionUID = 1L;

    private String applicationId;

    private String detailId;

    private SmsEmploymentApplicationUserDTO applyUserInfo;

    @ApiModelProperty(value = "入职人员姓名")
    private String personName;

    @ApiModelProperty(value = "性别：0：女，1：男")
    private Integer personSex;

    @ApiModelProperty(value = "民族")
    private String personNationality;

    @ApiModelProperty(value = "籍贯")
    private String personNativePlace;

    @ApiModelProperty(value = "身高")
    private String personHeight;

    @ApiModelProperty(value = "体重")
    private String personWeight;

    @ApiModelProperty(value = "政治面貌")
    private String personPoliticsStatus;

    @ApiModelProperty(value = "婚否：0未婚，1已婚")
    private Integer personMaritalStatus;

    @ApiModelProperty(value = "学历")
    private String personEducation;

    @ApiModelProperty(value = "身份证号码")
    private String personIdCard;

    @ApiModelProperty(value = "住址")
    private String personAddress;

    @ApiModelProperty(value = "应急人")
    private String personEmergency;

    @ApiModelProperty(value = "电话")
    private String personPhone;

    @ApiModelProperty(value = "毕业院校")
    private String personGraduateInstitutions;

    @ApiModelProperty(value = "专业")
    private String personSpeciality;

    @ApiModelProperty(value = "职称")
    private String personPositional;

    @ApiModelProperty(value = "简历")
    private String personResume;

    @ApiModelProperty(value = "审批状态：0审批中，1通过，2驳回，3撤销")
    private Integer allowStatus;

    @ApiModelProperty(value = "结束时间")
    private Date endTime;

    @ApiModelProperty(value = "申请人用户id")
    private String applicationApplyUserId;

    @ApiModelProperty(value = "创建时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private Date createTime;

    @ApiModelProperty(value = "更新时间")
    @TableField(fill = FieldFill.INSERT_UPDATE)
    private Date updateTime;

    private String processName;

    @ApiModelProperty(value = "审批人用户信息")
    private SmsEmploymentApplicationUserDTO allowUserInfo;

    @ApiModelProperty(value = "审批人id")
    private String detailAllowUserId;

    @ApiModelProperty(value = "审批状态  0：审批中  1：通过   2：驳回   3：撤销")
    private Integer detailAllowStatus;
}
